﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace FirmaTransportowa
{
    public partial class AdminPanelCarView : Form
    {
        public AdminPanelCarView()
        {
            InitializeComponent();
        }

        private void adminUserViewMenuItem_Click(object sender, EventArgs e)
        {
            this.Close();
            AdminPanelUserView adminPanel = new AdminPanelUserView();
            adminPanel.Show();
        }

        private void edytujToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Close();
            AdminPanelWorkerView adminPanelWorkerView = new AdminPanelWorkerView();
            adminPanelWorkerView.Show();
        }

        private void AdminPanelCarView_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'transportDataSet.Vehicles' table. You can move, or remove it, as needed.
            //this.vehiclesTableAdapter.Fill(this.transportDataSet.Vehicles);

        }

        private void addNewCarButton_Click(object sender, EventArgs e)
        {
            AdminAddNewCar adminAddNewCar = new AdminAddNewCar();
            adminAddNewCar.Show();
        }

        private void refreshButton_Click(object sender, EventArgs e)
        {
            //this.vehiclesTableAdapter.Fill(this.transportDataSet.Vehicles);
        }
    }
}
